/**
 * Created by JetBrains PhpStorm.
 * User: September5th
 * Date: 3/11/12
 * Time: 2:15 AM
 * To change this template use File | Settings | File Templates.
 */
Ext.define('EM.view.event.StatusBar', {

    extend:'Ext.toolbar.Toolbar',

    initComponent:function () {

        Ext.applyIf(this, {
            xtype:'toolbar',
            dock:'top',
            items:[
                {
                    xtype:'button',
                    id: 'events-expand-button',
                    text:'Expand'
                },
                {
                    xtype:'button',
                    id: 'events-collapse-button',
                    text:'Collapse'
                },
                {
                    text: 'Save',
                    id: 'events-save-button',
                    xtype:'button'
                },
                {
                    xtype:'tbfill',
                    id:'events-status-toolbar-fill'
                },
                {
                    xtype:'button',
                    id: 'events-zoomtofit-button',
                    text:'Zoom to fit'
                },
                {
                    xtype: 'slider',
                    id: 'events-silder',
                    autoScroll:true,
                    useTips:false,
                    width: 120,
                    value: 100,
                    minValue: 40,
                    maxValue: 200,
                    increment: 10
                }
            ]
        });

        this.callParent(arguments);
    }
});
